package com.air.designmodel.eleven;

/**
 * 模板方法模式
 *
 * @author shent
 */
public class Test {
    public static void main(String[] args) {
        Coffee coffee = new Coffee();
        Tea tea = new Tea();
        coffee.prepareRecipe();
        tea.prepareRecipe();
    }
}
